package composantsFenetre;
import javax.swing.JFrame;

import onglets.GestionnaireOnglets;
 
@SuppressWarnings("serial")
public class Fenetre extends JFrame{
	
	private Menu menu = new Menu();
	private GestionnaireOnglets gestionnaireOnglets = new GestionnaireOnglets();
   
     public Fenetre(){
         this.setTitle("Back'Optimal");
         this.setSize(1024, 768);
         this.setLocationRelativeTo(null);
         this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);     
         
         this.setJMenuBar(menu);
         this.add(gestionnaireOnglets);
         
         this.setVisible(true);
     }
}